using System;
using Volo.Abp.Application.Dtos;

namespace ERP.RepositoryManage.Dtos
{
    /// <summary>
    /// 生产工单选择DTO
    /// </summary>
    public class WorkOrderSelectDto : EntityDto<int>
    {
        /// <summary>
        /// 工单编码
        /// </summary>
        public string WorkOrderCode { get; set; } = string.Empty;

        /// <summary>
        /// 工单名称
        /// </summary>
        public string WorkOrderName { get; set; } = string.Empty;

        /// <summary>
        /// 工单来源
        /// </summary>
        public string SourceType { get; set; } = string.Empty;

        /// <summary>
        /// 订单编号
        /// </summary>
        public string OrderNumber { get; set; } = string.Empty;

        /// <summary>
        /// 产品编码
        /// </summary>
        public string ProductCode { get; set; } = string.Empty;

        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; } = string.Empty;

        /// <summary>
        /// 规格型号
        /// </summary>
        public string Specification { get; set; } = string.Empty;

        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; } = string.Empty;

        /// <summary>
        /// 工单数量
        /// </summary>
        public int Quantity { get; set; }

        /// <summary>
        /// 客户编码
        /// </summary>
        public string CustomerCode { get; set; } = string.Empty;

        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; } = string.Empty;

        /// <summary>
        /// 需求日期
        /// </summary>
        public DateTime? RequiredDate { get; set; }
    }
} 